/* 顶部导航栏 */
.template-nav {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 20px;
  background: #fff;
}

.nav-tab {
  background: none;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.nav-tab:hover {
  color: #333;
}

.nav-tab.active {
  color: #333;
  font-weight: 500;
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .template-nav {
    overflow-x: auto;
  }
  
  .nav-tab {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
} 